<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018-08-23
 * Time: 9:31
 */
namespace App\Http\Controllers\Help;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\DB;
class HelpController extends Controller{

    //公司信息
    public function companyInfo(){
        $list = DB::table('company_profile')->select('*')->where('hcp_id',1)->get();
        return $this->success('ok',$list);
    }

    //使用说明
   public function useHelp(){
     $list = DB::table('instruction_manual')->select('*')->where('him_id',1)->get();
       return $this->success('ok',$list);
   }

    //联系我们
    public function contactUs(){
       $list =  DB::table('contact_us')->select('*')->where('hcu_id',1)->get();
        return $this->success('ok',$list);
    }
}